"CSS3 Round Search Form"
Bootstrap 3.0.3 Snippet by Gurdeep Osahan

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="input-group custom-search-form"> <input id="search" type="text" placeholder="Search"> <input id="submit" type="submit" value="GO"> </div><!-- /input-group --> </div> </div> </div>
@import url(https://fonts.googleapis.com/css?family=Open+Sans); .custom-search-form input { border: 2px solid #ccc; padding: 13px; -moz-border-radius:50px; -webkit-border-radius:50px; border-radius:50px; font-family: 'Open Sans', sans-serif; } .custom-search-form { margin: 50px auto auto; } #submit { -moz-box-shadow:inset 0px 1px 0px 0px #f5978e; -webkit-box-shadow:inset 0px 1px 0px 0px #f5978e; box-shadow:inset 0px 1px 0px 0px #f5978e; background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f)); background:-moz-linear-gradient(top, #f24537 5%, #c62d1f 100%); background:-webkit-linear-gradient(top, #f24537 5%, #c62d1f 100%); background:-o-linear-gradient(top, #f24537 5%, #c62d1f 100%); background:-ms-linear-gradient(top, #f24537 5%, #c62d1f 100%); background:linear-gradient(to bottom, #f24537 5%, #c62d1f 100%); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f',GradientType=0); background-color:#f24537; border:1px solid #d02718; color:#ffffff; text-shadow:0px 1px 0px #810e05; } #submit:hover { background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537)); background:-moz-linear-gradient(top, #c62d1f 5%, #f24537 100%); background:-webkit-linear-gradient(top, #c62d1f 5%, #f24537 100%); background:-o-linear-gradient(top, #c62d1f 5%, #f24537 100%); background:-ms-linear-gradient(top, #c62d1f 5%, #f24537 100%); background:linear-gradient(to bottom, #c62d1f 5%, #f24537 100%); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537',GradientType=0); background-color:#c62d1f; } #submit:active { position:relative; top:1px; }

Related: See More


Questions / Comments:

Great Job

Sewak () - 3 years ago - Reply 0


Great Job

Sewak () - 3 years ago - Reply 0